package com.livestocksolutions;

import java.util.Date;

/* -- Version History --
 *  1.0 : 22 July 2012 - Initial version.
 *  
 *  1.1 : 31 July 2012 - Added Bull(Date) constructor to comply with parent constructor
 *  
 *  1.2 : 14 September 2012 - Added protected constructor Bull(long id), to be used when changing Gender
 *                       from Unknown to Bull.
 */

/**
 * This class creates a Bull, which is a Bovine
 * @author Adam Parr
 * @version 1.2
 * 
 * @.modified 24 September 2012
 */
public class Bull extends Bovine {
	/**
	 * A String that identifies any Object of this type as being of this sex
	 */
	public static final String GENDER = "Male";
	
	/**
	 * Constructor
	 * @param date date the Bull was born
	 */
	public Bull(Date date){
		super(date);
		gender=GENDER;
	}
	
	/**
	 * To be used when changing the gender of the Bovine.<br>
	 * Note: This will only be valid when the original Type is Bovine, with the intended Type
	 * being one of the sub classes.
	 * @param id The ID of the Bovine in which to replace
	 */
	protected Bull(long id){
		super(id);
		gender=GENDER;
	}
}